module ManageHookFloat where

import XMonad
    ( (-->), (=?), className, composeAll, doFloat, doIgnore, stringProperty )
import XMonad.Hooks.ManageHelpers ( doCenterFloat, isDialog )

myManageHook = composeAll
  [ className =? "Pavucontrol"          --> doFloat
  , className =? "Qalculate-gtk"        --> doFloat
  , className =? "Blueman-manager"      --> doFloat
  , className =? "mpv"                  --> doFloat
  , className =? "Lxappearance"         --> doFloat
  , className =? "qt5ct"                --> doFloat
  , className =? "Zenity"               --> doFloat
  , className =? "zenity"               --> doFloat
  , className =? "Kvantum Manager"      --> doFloat
  , className =? "confirm"              --> doFloat
  , className =? "download"             --> doFloat
  , className =? "error"                --> doFloat
  , className =? "Dragon"               --> doFloat
  , className =? "Nitrogen"             --> doFloat
  , className =? "SimpleScreenRecorder" --> doFloat
  , className =? "plasmashell"          --> doIgnore
  , className =? "ru-turikhay-tlauncher-bootstrap-Bootstrap" --> doFloat
  , isDialog --> doCenterFloat
  , stringProperty "WM_WINDOW_ROLE" =? "pop-up" --> doFloat
  ]
